package cn.com.nes.mybatis.agent.ope.mapper;

import cn.com.nes.mybatis.agent.ope.entity.Sblx;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SblxMapper extends BaseMapper<Sblx>{

	List<Map<String, Object>> selectPageList(Page<Map<String, Object>> page, @Param("sblxvo") Sblx sblxVo);

	String selectCompanyName(String companyId);
	
	Integer save(Sblx sblxVo);
	
	int updatesblx(@Param("sblx") Sblx sblxVo, @Param("company") String company);

	void updateFields(@Param("sqlStr") String sqlStr,@Param("id") Long id);

    Sblx selectBySblxId(@Param("sblxId") String sblxId);

	List<Map<String, String>> getManufacturerEquipmentInfo(@Param("sbxh") String sbxh, @Param("manufacturerCompanyIdList") List<String> manufacturerCompanyIdList);
}
